package com.example.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "gateway_detail")
public class GatewayDetail implements Serializable {

    @Id
    @Column(name = "pkid")
    private Integer pkId;

    @Column(name = "spid")
    private Integer spId;

    @Column(name = "words_limit")
    private String wordsLimit;

    @Column(name = "mark_length")
    private Integer markLength;

    @Column(name = "sparefiled1")
    private String spareFiled1;

    @Column(name = "sparefiled2")
    private String spareFiled2;

    @Column(name = "sparefiled3")
    private String spareFiled3;

    @Column(name = "is_valid")
    private Integer isValid;

    public Integer getPkId() {
        return pkId;
    }

    public void setPkId(Integer pkId) {
        this.pkId = pkId;
    }

    public Integer getSpId() {
        return spId;
    }

    public void setSpId(Integer spId) {
        this.spId = spId;
    }

    public String getWordsLimit() {
        return wordsLimit;
    }

    public void setWordsLimit(String wordsLimit) {
        this.wordsLimit = wordsLimit;
    }

    public Integer getMarkLength() {
        return markLength;
    }

    public void setMarkLength(Integer markLength) {
        this.markLength = markLength;
    }

    public String getSpareFiled1() {
        return spareFiled1;
    }

    public void setSpareFiled1(String spareFiled1) {
        this.spareFiled1 = spareFiled1;
    }

    public String getSpareFiled2() {
        return spareFiled2;
    }

    public void setSpareFiled2(String spareFiled2) {
        this.spareFiled2 = spareFiled2;
    }

    public String getSpareFiled3() {
        return spareFiled3;
    }

    public void setSpareFiled3(String spareFiled3) {
        this.spareFiled3 = spareFiled3;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }
}
